package com.springapp.service.impl;

import com.springapp.dao.dao.impl.ArticleDAO;
import com.springapp.dao.dao.impl.PaletteEnStockDAO;
import com.springapp.model.Article;
import com.springapp.service.IPaletteEnStockService;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by nicol_000 on 27/08/14.
 */
@Service
public class PaletteEnStockService implements IPaletteEnStockService {
    @Autowired
    private PaletteEnStockDAO paletteEnStockDAO;

    @Override
    public JSONObject getQteArtFou(int _iIdPalette){
        JSONObject jsoRet = new JSONObject();
        jsoRet = paletteEnStockDAO.getQteArtFou(_iIdPalette);
        return jsoRet;
    }


}
